(*****************************************************************************
 * Delphi Plug-in Framework (DPF)
 * Copyright (C) 2006-2007 Tao Yuan
 *
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the
 * License at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.                                                               }
 *
 * The Initial Developer of the Original Code is Tao Yuan. Portions created by
 * Tao Yuan are Copyright (C) Tao Yuan (taoy.cn att gmail dott com)
 * All rights reserved.
 *****************************************************************************)
unit RDConsts;

interface

const
  CrLf = sLineBreak;

const
  (**
   * Parameter definition type constant.
   *)
  TYPE_STRING = 'string';

  (**
   * Parameter definition type constant.
   *)
  TYPE_BOOLEAN = 'boolean';

  (**
   * Parameter definition type constant.
   *)
  TYPE_NUMBER = 'number';

  (**
   * Parameter definition type constant.
   *)
  TYPE_DATE = 'date';

  (**
   * Parameter definition type constant.
   *)
  TYPE_TIME = 'time';

  (**
   * Parameter definition type constant.
   *)
  TYPE_DATETIME = 'date-time';

  (**
   * Parameter definition type constant.
   *)
  TYPE_NULL = 'null';

  (**
   * Parameter definition type constant.
   *)
  TYPE_ANY = 'any';

  (**
   * Parameter definition type constant.
   *)
  TYPE_PLUGIN_ID = 'plugin-id';

  (**
   * Parameter definition type constant.
   *)
  TYPE_EXTENSION_POINT_ID = 'extension-point-id';

  (**
   * Parameter definition type constant.
   *)
  TYPE_EXTENSION_ID = 'extension-id';

  (**
   * Parameter definition type constant.
   *)
  TYPE_FIXED = 'fixed';

  (**
   * Parameter definition type constant.
   *)
  TYPE_RESOURCE = 'resource'; //$NON-NLS-1$

  (**
   * Parameter definition multiplicity constant.
   *)
  MULT_ONE = 'one';

  (**
   * Parameter definition multiplicity constant.
   *)
  MULT_ANY = 'any';

  (**
   * Parameter definition multiplicity constant.
   *)
  MULT_NONE_OR_ONE = 'none-or-one';

  (**
   * Parameter definition multiplicity constant.
   *)
  MULT_ONE_OR_MORE = 'one-or-more';

  (**
   * Extension point multiplicity constant.
   *)
  EXT_MULT_ANY = 'any';

  (**
   * Extension point multiplicity constant.
   *)
  EXT_MULT_ONE = 'one';

  (**
   * Extension point multiplicity constant.
   *)
  EXT_MULT_ONE_PER_PLUGIN = 'one-per-plugin';

  (**
   * Extension point multiplicity constant.
   *)
  EXT_MULT_NONE = 'none';

//==============================================================================
// IReportItem
//==============================================================================

  (**
   * Item severity code.
   *)
  SEVERITY_ERROR = 1;

  (**
   * Item severity code.
   *)
  SEVERITY_WARNING = 2;
        
  (**
   * Item severity code.
   *)
  SEVERITY_INFO = 3;

  (**
   * Item error code.
   *)
  ERROR_NO_ERROR = 0;
        
  (**
   * Item error code.
   *)
  ERROR_CHECKER_FAULT = 1;

  (**
   * Item error code.
   *)
  ERROR_MANIFEST_PROCESSING_FAILED = 2;

  (**
   * Item error code.
   *)
  ERROR_UNSATISFIED_PREREQUISITE = 3;
        
  (**
   * Item error code.
   *)
  ERROR_BAD_LIBRARY = 4;
        
  (**
   * Item error code.
   *)
  ERROR_INVALID_EXTENSION_POINT = 5;

  (**
   * Item error code.
   *)
  ERROR_INVALID_EXTENSION = 6;

//==============================================================================
// IPluginPrerequisite
//==============================================================================


  (**
   * Version identifier matching mode.
   *)
  MATCH_EQUAL = 'equal'; //$NON-NLS-1$

  (**
   * Version identifier matching mode.
   *)
  MATCH_EQUIVALENT = 'equivalent'; //$NON-NLS-1$

  (**
   * Version identifier matching mode.
   *)
  MATCH_COMPATIBLE = 'compatible'; //$NON-NLS-1$

  (**
   * Version identifier matching mode.
   *)
  MATCH_GREATER_OR_EQUAL = 'greater-or-equal'; //$NON-NLS-1$

implementation

end.
